Instances

_________________________________________________
                                                find-instance
*281*

Input names: aList;  AttributeName;  Value;  [StartIndex]

Input types: list;  string;  <any>;  [integer]

Defaults: StartIndex = 1

Output names: FoundIndex;  Instance

Output types: integer;  <any class> | null

Description: 
Instance is the first instance after position StartIndex in aList with an attribute AttributeName, the value of which is Value. FoundIndex is the position of Instance in aList. If no such instance exists, FoundIndex and Instance are 0 and NULL respectively. 

See also:  find-bounds

_________________________________________________
                                          inst-to-list
 *281*

Input types: <any class>

Output types: string;  list

Description: 
Class is the type of Instance. AList is the list of values of instance attributes of Instance.

See also:  list-to-inst

_________________________________________________
                                         list-to-inst
 *282*

Input types: string;  list

Output types: <any class>

Description: 
Instance is an instance of the class named Class. The instance attributes of Instance have values specified by aList. The class named Class must exist, and the number of its instance attributes must equal the length of aList.

See also:  inst-to-list